export default (state = { list: [], name: '和胜和前坐馆沙田Me' }, action) => {
    switch (action.type) {
        //商品数据加载完成
        case 'PRODUCT_LOADED':
            console.log(action)
            return {
                ...state,
                list: action.value.products

            };
        default:
            return state;
    }
}